package com.chat.entry.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum GenderEnum {
    MAN(0, "男"),
    WOMAN(1, "女");

    @EnumValue
    private final int gender;
    private final String name;

    GenderEnum(int gender, String name) {
        this.gender = gender;
        this.name = name;
    }
}
